<!--SIF Implementation Specification 2.2-6 (March 17, 2008)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.sifinfo.org/infrastructure/2.x" xmlns:sif="http://www.sifinfo.org/infrastructure/2.x" elementFormDefault="qualified">
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="imports/xml/xml.xsd" />
  <xs:complexType name="EmploymentRecordType">
    <xs:annotation>
      <xs:documentation>This object contains a snapshot (view) of employment information for an employee.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="LEAInfoRefId" minOccurs="0" type="sif:IdRefType">
        <xs:annotation>
          <xs:documentation>The GUID reference to the LEAInfo object representing the LEA
							that employs the staff member.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Active" minOccurs="0" nillable="true" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>Staff is currently active and/or employed.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="FullTimeStatus" minOccurs="0" nillable="true" type="sif:NCES0476FullTimeStatusType">
        <xs:annotation>
          <xs:documentation>Full-time status of employee.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="HireDate" minOccurs="0" nillable="true" type="xs:date">
        <xs:annotation>
          <xs:documentation>Date the employee was hired.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TerminationDate" minOccurs="0" nillable="true" type="xs:date">
        <xs:annotation>
          <xs:documentation>Date the employee resigned.  Present if a HireDate is entered and a TerminationDate is available.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TotalYearsExperience" minOccurs="0" nillable="true" type="xs:unsignedInt">
        <xs:annotation>
          <xs:documentation>Total number of years of prior experience.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PositionTitle" minOccurs="0" nillable="true" type="xs:normalizedString">
        <xs:annotation>
          <xs:documentation>Employee's current position title.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PositionNumber" minOccurs="0" nillable="true" type="xs:normalizedString">
        <xs:annotation>
          <xs:documentation>Employee's level or category assigned by employer.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SeniorityDate" minOccurs="0" nillable="true" type="xs:date">
        <xs:annotation>
          <xs:documentation>Date employee has seniority.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TenureDate" minOccurs="0" nillable="true" type="xs:date">
        <xs:annotation>
          <xs:documentation>Date employee is tenured.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SIF_Metadata" minOccurs="0" nillable="true" type="sif:SIF_MetadataType" />
      <xs:element name="SIF_ExtendedElements" minOccurs="0" nillable="true" type="sif:SIF_ExtendedElementsType" />
    </xs:sequence>
    <xs:attribute name="SIF_RefId" use="optional" type="sif:IdRefType">
      <xs:annotation>
        <xs:documentation>The GUID can either refer to the EmployeePersonal or StaffPersonal object.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="SIF_RefObject" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="EmployeePersonal" />
          <xs:enumeration value="StaffPersonal" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>

  <xs:element name="EmploymentRecord" type="sif:EmploymentRecordType" />

</xs:schema>